<%@ page import="com.ujiuye.listener.Student" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/9
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        Student s = new Student("张三",28);
        //添加session中
        session.setAttribute("student",s);

        //移除
        session.removeAttribute("student");
    %>
</body>
</html>
